{"version":3,"sources":["editor.js"],"names":["window","BX","BlockEditorManager","list","blockList","get","id","this","add","params","blockTypeList","getBlockList","BXBlockEditor","onCustomEvent","create","setBlockList","context","iframe","charset","previewUrl","saveFileUrl","site","resultNode","disableScroll","panelList","placeList","dragdrop","preview","stylistContainerNode","stylistInitedValues","isInited","isTemplateMode","CONST_ATTR_BLOCK","CONST_ATTR_PLACE","CONST_ATTR_BLOCK_STATUS","CONST_ATTR_STYLIST_TAG","CONST_ATTR_TMP_RESOURSE","CONST_ATTR_ID_STYLIST","content","BlockEditor","Content","caller","textarea","statusManager","BXBlockEditorStatusManager","cssParser","BXBlockEditorCssParser","shadowNode","findChild","className","addCustomEvent","delegate","addClass","removeClass","ready","url","load","bind","setTimeout","initResize","prototype","resize","contentWindow","throttle","doc","contentDocument","h","Math","max","body","scrollHeight","documentElement","offsetHeight","clientHeight","style","height","init","helper","BXBlockEditorHelper","initControls","initDragDrop","initEditDialog","initPreview","initTabsBlockAndStyles","initPhpSlices","initBlockPlaces","initBlocks","initStylist","save","phpParser","resetItems","nodeList","findChildren","attribute","getAttrName","i","node","phpSlice","getAttribute","phpDesc","getPhpSliceDescription","innerHTML","name","setAttribute","util","htmlspecialchars","title","addItem","outerHTML","buttonMin","buttonMax","close","open","_this","button","findChildByClassName","panel","showPanel","display","showPreview","getHtmlBtn","querySelector","clipboard","bindCopyClick","text","getContent","blockNodeList","addBlock","headNode","head","each","childNodes","nodeName","attributes","hasAttribute","appendChild","parse","getStyles","forEach","item","styles","block","parameters","value","currentStyles","mergeStyles","getCssString","findStylistPlaces","placeCode","placeNode","placeBlock","BXBlockEditorStylist","type","controls","styleNode","push","editDialog","onPlaceEdit","onPlaceHover","tmplPage","idList","querySelectorAll","j","length","key","substr","code","isHover","editBlock","place","firstPlaceInfoCode","placeInfoCode","findBlockPlaces","placeInfoList","html","getBlocks","placeInfo","getBlockHtml","replacePhpByLayout","emptyTextLayout","indexOf","hasBlocksFromContent","trim","actualizeBlockPlace","result","dropZone","cleanNode","childNode","remove","message","addCatcher","removeCatcher","BXBlockEditorPreview","tabContainer","tabBlocks","tabStyles","contentBlocks","contentStyles","clickHandler","hasClass","contentPagerPrev","contentPagerNext","pagerClickHandler","next","currentPageNode","nextElementSibling","nextPageNode","previousElementSibling","easing","duration","start","opacity","finish","transition","transitions","quart","step","state","complete","animate","_context","removeAttribute","panelCode","executePhp","show","showHtml","tag","BXBlockEditorEditDialog","BXBlockEditorPHPParser","htmlEditor","onEditDialogControlChangeValue","editBlockEnd","formNode","findParent","self","e","isFinalSave","preventDefault","stopPropagation","submit","BXBlockEditorDragDrop","showDragDropZone","hideDragDropZone","onDragDropItemAdd","onDragDropItemMove","getContentForSave","callback","unbindAll","css","loadCSS","random","cssParams","attrs","adjust","isFunction","apply","src","createBlockListWithReplacedEmptyPlaces","tempBlocks","blockNodes","children","blockNode","getBlockNodeByType","addBlockByNode","setContentHtml","removeBlockListWithReplacedEmptyPlaces","removeBlock","getSortedBlockList","sortedBlockList","convert","nodeListToArray","changedPlaceList","getPlaceNameList","sort","parentNode","in_array","styleContent","diffStyles","diffStylesAll","concat","map","getPlaceHolderCode","getContentHtmlOuter","getEditValues","getString","withoutPHP","fillBlockPlacesByEmptyBlocks","cloneNode","toUpperCase","href","blockPlaceList","blockPlace","blockPlaceBlocks","blockAnchorNode","createTextNode","k","blockContent","blockContentChildren","n","replaceLayoutBySurrogate","replaceSurrogateByPhp","isTopPosition","before","oldBlockPlace","onMoveHandler","appendChildNode","columnNum","currentEditingBlock","setEditValue","getCurrentEditingBlock","values","BXBlockEditorBlockComponent","BXBlockEditorBlock","setEditValues","getBlockHtmlByCode","TYPE","HTML","getComponentInclude","bxParams","addBlockByHtml","drag","clone","cloneBlock","PreventDefault","edit","disableSaving","splice","removeItem","parentRemovedNode","hide","clonedBlankBlock","getContentHtml","insertBefore","clonedBlock","hasChanges","getEditPropList","nodeContent","editHandlerList","initStructure","initEditHandlers","initDependencies","blockHtml","findEditHandler","handler","isArray","reload_dependence","dependenceCode","dependencies","nearNode","onMove","findEditNodeList","columnCounter","parseInt","columnToolName","column","getEditValue","hasOwnProperty","filtered","filter","param","func","filterCodeList","dependence","editorBlock","editorBlockShadow","document","createElement","editorBlockControls","htmlContent","editorBlockContent","props","editorBlockDropZoneBefore","editorBlockDropZoneAfter","controlHandlers","superclass","constructor","call","componentDescriptionNode","onEdit","setContentClearPhp","getContentClearPhp","editorBlockComponentHeader","editorBlockComponentIcon","editorBlockComponentDescription","editorBlockComponent","nextSibling","componentIconNode","componentHeaderNode","componentDescription","onBlockCreateAfter","php","split","join","showComponentPropertiesDialog","extend","selectorTextList","selectorAList","bx-stylist-bgcolor","getHTagHandler","handlerList","hTag","resultList","bx-stylist-padding-top","bx-stylist-padding-bottom","bx-stylist-text-color","cssTextBlock","bx-stylist-text-font-family","bx-stylist-text-font-size","bx-stylist-text-font-weight","bx-stylist-text-line-height","bx-stylist-text-text-align","bx-stylist-a-color","cssATag","bx-stylist-a-font-weight","bx-stylist-a-text-decoration","getSelector","selectorList","substring","finalSelectorList","selector","cssHeadTag","media","cssText","changeParams","styleSheet","setStyle","changeResult","getStyle","phpList","componentPropertiesDialogHandler","componentPropertiesDialogHandlerCancel","handleComponentPropertiesChange","handleComponentPropertiesClose","handlerSave","handlerCancel","components","IsComponent","SetContent","surrogateList","GetAllSurrogates","surrogate","origTag","GetBxTag","bxTag","surrogateId","ShowPropertiesDialog","oPropertiesDialog","oDialog","proxy","phpNode","replace","replaceLayoutByPhp","len","layout","component","cData","GetComponentData","DESCRIPTION","parsedText","ReplacePhpBySymCode","ind","arScripts","phpPattern","GetPhpPattern","encodedPhpSlice","replaceTo","componentName","asLayout","includeText","GetOnDropHtml"],"mappings":"CAAC,SAAUA,GACV,GAAIC,GAAGC,mBACN,OAEDD,GAAGC,oBAEFC,QACAC,aAEAC,IAAK,SAAUC,GAEd,GAAIC,KAAKJ,KAAKG,GAAK,CAClB,OAAOC,KAAKJ,KAAKG,GAGlB,OAAO,MAGRE,IAAK,SA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